|
|
Hi everybody
This scene causes PovRay for Windows, Beta 8, to report a
"Rendering Error: Maximum function evaluation recursion level reached.",
and crash in the same moment.
When inserting the function explictly everywhere, instaead of #declaring
it, it starts to render but is extremely slow.
The same thing works flawlessly in beta 7.
#version 3.5;
camera{location <0,4,-5>*.8 look_at <0,.5,0> angle 50}
light_source{<1,2,1.5>*100 color rgb 1}
#declare sinxsin=function{min(abs(sin(x*pi/2)),abs(sin(z*pi/2)))}
#declare n0=
normal
{
function{sinxsin(x,y,z)}
slope_map{[0.0 <0,1>][0.1 <1,0>][0.5 <0.9,0>][0.51 <1,0>][1.0
<1,0>]}
}
#declare n1=
normal
{
average normal_map{[1.0 n0][1.0 granite -.1 scale .5]}
}
#declare n2=
normal
{
function{sinxsin(x,y,z)}
normal_map
{
[0.5 n0]
[0.6 n1]
}
}
plane
{
y,0
texture
{
pigment{checker color rgb 1 color rgb 0 scale 2}
finish{specular 1}
normal{n2}
}
rotate -y*20
}
Post a reply to this message
|
|